<template>
    <div>
     <basic-form :name="props.options.title" :isMust="props.options.mustWrite">
         <g-formItem type="select" :value="name"  @valueChange="(v) => (name = v)"
              :placeholder="props.options.placeholder" :option="options.option" class="select"></g-formItem>
     </basic-form>
    </div>
 </template>
     
 <script setup>
 import { ref ,watch} from 'vue'
 const props = defineProps(['options'])
 const name = ref()
 </script>
     
 <style scoped>
  ::v-deep .select .el-select{
    width: 100%;
  }
 </style>